/**
 * FileName: MemberInteface
 * Author:   杨兴
 * Date:     2019/8/14 10:37
 * Description: 会员接口
 */
package com.xiongmao.gongyu.service;

import com.xiongmao.gongyu.fallbackService.MemberInteface2Fallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient( name="mybatis",fallback = MemberInteface2Fallback.class)
@Service
public interface MemberInteface2 {

     @RequestMapping("/getMemberData2")
     String getMemberData(String name);
     @RequestMapping("/testMybatis")
     public String testMybatis();
}
